package com.github.ylt.utils;

import java.util.UUID;

/**
 * @author wutong
 */
public class UUIDUtils {
    private UUIDUtils() {}
    public static String getUUID() {
        return UUID.randomUUID().toString();
    }
    public static String getUUID(String prefix) {
        return prefix + getUUID();
    }
    public static String getUUID(String prefix, String suffix) {
        return prefix + getUUID() + suffix;
    }

    public static void main(String[] args) {
        System.out.println(UUIDUtils.getUUID());
    }
}
